namespace IMPlant.Core.Web.Control
{
    using System;
    using System.Web.UI.WebControls;

    public class GridViewTableCell
    {
        private int _columnIndex;
        private DataControlRowState _rowState;
        private DataControlRowType _rowType;
        private System.Web.UI.WebControls.TableCell _tableCell;

        public GridViewTableCell(System.Web.UI.WebControls.TableCell tableCell, int columnIndex, DataControlRowType rowType, DataControlRowState rowState)
        {
            this._tableCell = tableCell;
            this._columnIndex = columnIndex;
            this._rowType = rowType;
            this._rowState = rowState;
        }

        public int ColumnIndex
        {
            get
            {
                return this._columnIndex;
            }
            set
            {
                this._columnIndex = value;
            }
        }

        public DataControlRowState RowState
        {
            get
            {
                return this._rowState;
            }
            set
            {
                this._rowState = value;
            }
        }

        public DataControlRowType RowType
        {
            get
            {
                return this._rowType;
            }
            set
            {
                this._rowType = value;
            }
        }

        public System.Web.UI.WebControls.TableCell TableCell
        {
            get
            {
                return this._tableCell;
            }
            set
            {
                this._tableCell = value;
            }
        }
    }
}

